﻿using TianlalaHSB.Models;

namespace TianlalaHSB.ViewModels;

public class AccountViewModel(Account data) : BaseViewModel
{
    /// <summary>
    ///     资金账号
    /// </summary>
    public string? subAcctNo => data.subAcctNo;

    /// <summary>
    ///     资金户名
    /// </summary>
    public string? subAcctName => data.subAcctName;

    /// <summary>
    ///     开户行号
    /// </summary>
    public string? bankNo => data.bankNo;

    /// <summary>
    ///     开户行名
    /// </summary>
    public string? bankName => data.bankName;

    /// <summary>
    ///     开户日期
    /// </summary>
    public string? openDate => data.openDate;

    /// <summary>
    ///     账户状态
    /// </summary>
    public string? acctStatus => data.acctStatus;

    /// <summary>
    ///     会员代码
    /// </summary>
    public string? memberNo => data.memberNo;

    /// <summary>
    ///     会员类型
    /// </summary>
    public string? memberType => data.memberType;

    /// <summary>
    ///     证件类型
    /// </summary>
    public string? certType => data.certType;

    /// <summary>
    ///     证件号码
    /// </summary>
    public string? certNo => data.certNo;

    /// <summary>
    ///     法人代表
    /// </summary>
    public string? legalRealName => data.legalRealName;

    /// <summary>
    ///     法人证件类型
    /// </summary>
    public string? legalCertType => data.legalCertType;

    /// <summary>
    ///     法人证件号码
    /// </summary>
    public string? legalCertNo => data.legalCertNo;

    /// <summary>
    ///     经办人
    /// </summary>
    public string? agentName => data.agentName;

    /// <summary>
    ///     经办人证件类型
    /// </summary>
    public string? agentCertType => data.agentCertType;

    /// <summary>
    ///     经办人证件号码
    /// </summary>
    public string? agentCertNo => data.agentCertNo;

    /// <summary>
    ///     手机号码
    /// </summary>
    public string? mobileNo => data.mobileNo;

    /// <summary>
    ///     电子邮箱
    /// </summary>
    public string? email => data.email;

    /// <summary>
    ///     账户绑定状态
    /// </summary>
    public string? bindStatus => data.bindStatus;

    /// <summary>
    ///     账户特殊属性
    /// </summary>
    public string? attrFlag => data.attrFlag;

    /// <summary>
    ///     是否设置密码
    /// </summary>
    public string? pwdSetFlag => data.pwdSetFlag;
}